Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Gestalt Selectors and Response Values

You can pass the gestaltQD3D selector to the Gestalt function to determine information about the availability of QuickDraw 3D.

enum {
    gestaltQD3D                                 = 'qd3d'
}

Gestalt returns information to you by returning a long word in the response parameter. Currently, the returned values are defined by constants:

enum {
    gestaltQD3DNotPresent                       = 0,
    gestaltQD3DAvailable                        = 1
}

Constant descriptions

gestaltQD3DNotPresent
QuickDraw 3D is not available.
gestaltQD3DAvailable
QuickDraw 3D is available.

You can pass the gestaltQD3DVersion selector to the Gestalt function to determine the installed version of QuickDraw 3D.

enum {
    gestaltQD3DVersion                          = 'q3v '
}

Gestalt returns version information in the response parameter.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |